<h1>Edit an User</h1>
<p><?php echo validation_errors(); ?></p>
<form action="<?php echo site_url('users'); ?>/update/<?php echo $user->user_id; ?>" method="post">
<fieldset>
        <legend>Owner Information</legend>
				<input type='hidden' name='id' value='<?php echo $user->user_id; ?>' />
				  <label for="username">User Name:</label><input type="text" name="username" id="username" tabindex="1" value="<?php echo $user->username; ?>" /><p/>
				 <label for="password">Password:</label><input type="password" name="password" id="password" tabindex="2" value="<?php echo $user->password; ?>" /><p/>
				<label for="password2">Confirm Password:</label><input type="password" name="password2" id="password2" tabindex="3" size="53" value="<?php echo $user->password; ?>" /><p/>
        <label for="answer1">Security Question: What is your mother's madien name?</label><p/>
				<input type="answer1" name="answer1" id="answer1" tabindex="4" size="26" value="<?php echo $user->answer1; ?>" /><p/>
				<label for="answer2">Security Question: What is your favorite color?</label><p/>
				<input type="answer2" name="answer2" id="answer2" tabindex="5" size="26" value="<?php echo $user->answer2; ?>" /><p/>
				<label for="permission">Is this user a doctor:</label>  <p/>
        <input type="radio"  name="permission" tabindex="6" value="0" /> No
				<input type="radio" name="permission" tabindex="7" value="1" /> Yes

					<p/>	<button type="submit" tabindex="8">Submit &raquo;</button>
    </fieldset>
</form>